package Market;


import sim.engine.*;

public class ISO implements Steppable
{
	private static final long serialVersionUID = 6628525522939315274L;

	//private ACEWEMmodel              market;
	private OptimalPowerFlow opf;
	

	  
//C-O-N-S-T-R-U-C-T-O-R--------------------------------------------------------------------------------------------------------------------
	 
	  public ISO(ACEWEMmodel mt)
	  {		
		//market = mt;
		opf = new OptimalPowerFlow(mt);
	  }
	
//-----------------------------------------------------------------------------------------------------------------------------------------
    public void step(SimState state)
  {   	
    //for (int hour=0; hour<market.Hours; hour++)
    //{
    	//opf = new OptimalPowerFlow(market, hour);
    //}
    	
    	opf.solveHourlyPowerFlows();
    	
   }
 }